package com.example.videomedian;


import android.graphics.Bitmap;
import android.media.MediaMetadataRetriever;

public class MediaBean {
    public String path;
    public String vName;
    public String lastTime="00:00:00";
    public Bitmap vImg;


    public Bitmap getvImg() {

        MediaMetadataRetriever retriever=new MediaMetadataRetriever();
        retriever.setDataSource(path);
        vImg=retriever.getFrameAtTime();
        return vImg;
    }





}
